package entity;

import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

/** Subject 此类为试卷中试题组成 */
@Data
@Builder
public class Subject {
  // 题号
  private int num;
  // 题干
  private String content;

  @Tolerate
  public Subject() {}

  public String toString() {
    return num + " " + content + "\n";
  }
}
